Ast.isEntity implemented