public boolean hasAttributes(){
  return attributes != null && !attributes.isEmpty();
}

public boolean hasAttributes ( ) { return attributes != null && ! attributes . isEmpty ( ) ; }
indicates whether this parameters specifies any attributes .
