has

abstract var has: (target: T, p: PropertyKey) -> Boolean?(source)