isMethodDeclaration