code: private boolean isLocked(Class entityType, String entityKey) throws LockingException {
          return isLocked(entityType, entityKey, null);
      }
docs: Answers if the entity represented by the entityType and entityKey already has a lock of some
  type.
  
  @param entityType
  @param entityKey
  @exception org.apereo.portal.concurrency.LockingException