# File lib/core/endpoint.rb, line 72
    def check_state(mask) (self.state & mask) == mask; end