classes/Events/API/Calendar.php
public function hasEvent($event) {
		return (bool) check_entity_relationship($event->guid, self::EVENT_CALENDAR_RELATIONSHIP, $this->guid);
	}
public function hasEvent($event) {
		return (bool) check_entity_relationship($event->guid, self::EVENT_CALENDAR_RELATIONSHIP, $this->guid);
	}
public function hasEvent ( $ event ) { return ( bool ) check_entity_relationship ( $ event -> guid , self :: EVENT_CALENDAR_RELATIONSHIP , $ this -> guid ) ; }
Checks if the event is on calendar

@param Event $event Event
@return bool
Checks if the event is on calendar