private boolean isModel(JavaContext context,Node classDeclaration){
  String classFilePackage=PackageManager.getPackage(context,classDeclaration);
  return classFilePackage.contains(".models.");
}

private boolean isModel ( JavaContext context , Node classDeclaration ) { String classFilePackage = PackageManager . getPackage ( context , classDeclaration ) ; return classFilePackage . contains ( ".models." ) ; }
check if a class is a model ( is inside a package called ' models ' ) .
