public boolean hasConstraint ( int tileIdx , String constraint ) { return ( _bits == null || _bits [ tileIdx ] . constraints == null ) ? false : ListUtil . contains ( _bits [ tileIdx ] . constraints , constraint ) ; }
Checks whether the tile at the specified index has the given constraint .