code: public boolean isEnabled()
      {
          if ((this.getMasterSlaveFlag() & FileListener.RUN_IN_SLAVE) == 0) // Is NOT enabled in a SERVER only environment
              if (this.getOwner() != null)
                  if ((this.getOwner().getMasterSlave() & RecordOwner.MASTER) == 0) // Is not a client environment
              return false;   // Don't run this listener in a server-only environment
          if ((this.getMasterSlaveFlag() & FileListener.RUN_IN_MASTER) == 0) // Is NOT enabled in a CLIENT only environment
              if (this.getOwner() != null)
                  if ((this.getOwner().getMasterSlave() & RecordOwner.SLAVE) == 0) // Is not a server environment
              return false;   // Don't run this listener in a client-only environment
          return super.isEnabled();
      }
docs: Is this listener enabled?
  Note: This logic checks for 'client-only behaviors' trying to run in
  an environment that doesn't support 'servers' (client-only environments).
  @return true if this should be used.