public boolean isSarlAgent ( LightweightTypeReference type ) { return ! type . isInterfaceType ( ) && ( getSarlElementEcoreType ( type ) == SarlPackage . SARL_AGENT || type . isSubtypeOf ( Agent . class ) ) ; }
Replies if the given JVM element is a SARL agent .