How to check if user has selected a property in