Checks if the current session contains the passed in entity
Returns
This function returns boolean
Arguments
Examples
functioncheckSomething( any User ){// check if User is already in sessionif( NOTormService.sessionContains( arguments.User ) ){// Not in hibernate session, so merge it in.ormService.merge( arguments.User ); }}