public static function validate_event_plugin($plugin, $eventname, $eventlist = array()) {
        if (empty($eventlist)) {
            $eventlist = self::get_all_eventlist();
        }
        if (isset($eventlist[$plugin][$eventname])) {
            return true;
        }

        return false;
    }
public static function validate_event_plugin($plugin, $eventname, $eventlist = array()) {
        if (empty($eventlist)) {
            $eventlist = self::get_all_eventlist();
        }
        if (isset($eventlist[$plugin][$eventname])) {
            return true;
        }

        return false;
    }
public static function validate_event_plugin ( $ plugin , $ eventname , $ eventlist = array ( ) ) { if ( empty ( $ eventlist ) ) { $ eventlist = self :: get_all_eventlist ( ) ; } if ( isset ( $ eventlist [ $ plugin ] [ $ eventname ] ) ) { return true ; } return false ; }
validate if the given event belongs to the given plugin.

@param string $plugin Frankenstyle name of the plugin.
@param string $eventname Full qualified event name.
@param array $eventlist List of events generated by {@link eventlist::get_all_eventlist}

@return bool Returns true if the selected event belongs to the selected plugin, false otherwise.
validate if the given event belongs to the given plugin .