hasApplication 
  Checks whether an application registered this resource using @app_name.
Return
true if an application with name @app_name was found, false otherwise
Parameters
appName 
a string containing an application name
Checks whether an application registered this resource using @app_name.
true if an application with name @app_name was found, false otherwise
a string containing an application name