public boolean hasWorkingMisc(BigInteger flag){
  return hasWorkingMisc(flag,-1);
}

public boolean hasWorkingMisc ( BigInteger flag ) { return hasWorkingMisc ( flag , - 1 ) ; }
check if the entity has an arbitrary type of misc equipment
