private function isHydraOperation(\ReflectionMethod $method)
    {
        $annotation = $this->annotationReader->getMethodAnnotation(
            $method,
            'ML\HydraBundle\Mapping\Operation'
        );

        return null !== $annotation;
    }