private function isContextUsable($reflectionElement) { if ($reflectionElement === null || $reflectionElement instanceof ConstantReflectionInterface || $reflectionElement instanceof FunctionReflectionInterface) { return false; } return true; }