public boolean hasResources(){
  return (discoData != null) && !discoData.isEmpty();
}

public boolean hasResources ( ) { return ( discoData != null ) && ! discoData . isEmpty ( ) ; }
returns true if there is an entry for resource offering .
