public static function check($params, $method, $headers)
    {
        if (count(self::$implementations) !== 0 && !self::$userGetByEmailMethod) {
            throw new \Phramework\Exceptions\ServerException(
                'getUserByEmail method is not set'
            );
        }

        foreach (self::$implementations as $implementation) {
            if ($implementation->testProvidedMethod($params, $method, $headers)) {
                return $implementation->check($params, $method, $headers);
            }
        }

        return false; //Not found
    }