code: public Boolean checkType(String type) {
      if (mtasPositionType == null) {
        return false;
      } else {
        return mtasPositionType.equals(type);
      }
    }
docs: Check type.
  
  @param type the type
  @return the boolean