Added && and || methods to prop