private boolean isStatus(final Integer... states) {
    return (status != null
        && Arrays.asList(defaultToUnknownStateIfNull(states)).contains(status.state));
  }
Determines if the Status.state is one of the specified states in the given array of states.
Note, the status of the Agent, as indicated in the .agent.ser status file, should never have a
written value of UNKNOWN.
<p>

@param states an array of possible acceptable states satisfying the condition of the Agent's
       status.
@return a boolean value indicating whether the Agent's status satisfies one of the specified
        states.
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/AgentLauncher.java