public boolean has_trace_exit_restrictions(){
  for (int index=first_layer(); index <= last_layer(); ++index) {
    Collection<BrdTraceExitRestriction> curr_exit_restrictions=get_trace_exit_restrictions(index);
    if (curr_exit_restrictions.size() > 0)     return true;
  }
  return false;
}

public boolean has_trace_exit_restrictions ( ) { for ( int index = first_layer ( ) ; index <= last_layer ( ) ; ++ index ) { Collection < BrdTraceExitRestriction > curr_exit_restrictions = get_trace_exit_restrictions ( index ) ; if ( curr_exit_restrictions . size ( ) > 0 ) return true ; } return false ; }
returns true , if this pin has exit restrictions on some kayer .
