public final boolean is_connected(){
  Collection<BrdItem> contacts=get_all_contacts();
  return (contacts.size() > 0);
}

public final boolean is_connected ( ) { Collection < BrdItem > contacts = get_all_contacts ( ) ; return ( contacts . size ( ) > 0 ) ; }
checks , if this item is electrically connected to another connectable item . returns false for items , which are not connectable .
