public static boolean isCraftingSkill(int skillId){
  Iterator<Integer> it=craftingSkillIds.iterator();
  while (it.hasNext()) {
    if (it.next() == skillId) {
      return true;
    }
  }
  return false;
}

public static boolean isCraftingSkill ( int skillId ) { Iterator < Integer > it = craftingSkillIds . iterator ( ) ; while ( it . hasNext ( ) ) { if ( it . next ( ) == skillId ) { return true ; } } return false ; }
check if skillid is crafting skill or not
