public boolean contains(byte shieldId){
  return shieldsIds.contains(shieldId);
}

public boolean contains ( byte shieldId ) { return shieldsIds . contains ( shieldId ) ; }
checks whether the shields list contains a shield with a specific id .
