hasProperty checks for valid properties