public static function exists(RoutingTable $annotations = null, $entityAlias, $method) {
        return !empty($annotations) && $annotations->get($entityAlias) !== null && $annotations->get($entityAlias)->$method() !== null;
    }