Replace hasProp()-implementation with simple in-operator