(self, state)
return self.safe_set[self.discretization.state_to_index(state)]
Return a boolean array that indicates whether the state is safe.

        Parameters
        ----------
        state : ndarray

        Returns
        -------
        safe : boolean
            Is true if the corresponding state is inside the safe set.
Return a boolean array that indicates whether the state is safe.
Return a boolean array that indicates whether the state is safe .
def is_safe(self, state):
        """Return a boolean array that indicates whether the state is safe.

        Parameters
        ----------
        state : ndarray

        Returns
        -------
        safe : boolean
            Is true if the corresponding state is inside the safe set.

        """
        return self.safe_set[self.discretization.state_to_index(state)]
def is_safe ( self , state ) : return self . safe_set [ self . discretization . state_to_index ( state ) ]