public static function has($class, $name)
    {
        if (empty(self::$_events[$name])) {
            return false;
        }
        $class = Ioc::resolveClassName($class);
        do {
            if (!empty(self::$_events[$name][$class])) {
                return true;
            }
        } while (($class = get_parent_class($class)) !== false);

        return false;
    }
public static function has($class, $name)
    {
        if (empty(self::$_events[$name])) {
            return false;
        }
        $class = Ioc::resolveClassName($class);
        do {
            if (!empty(self::$_events[$name][$class])) {
                return true;
            }
        } while (($class = get_parent_class($class)) !== false);

        return false;
    }
public static function has ( $ class , $ name ) { if ( empty ( self :: $ _events [ $ name ] ) ) { return false ; } $ class = Ioc :: resolveClassName ( $ class ) ; do { if ( ! empty ( self :: $ _events [ $ name ] [ $ class ] ) ) { return true ; } } while ( ( $ class = get_parent_class ( $ class ) ) !== false ) ; return false ; }
object or className has the named event

@param string|object $class the object or the fully qualified class name specifying the class-level event.
@param string $name the event name.
@return boolean whether there is any event handler attached to the event.
object or className has the named event