src/main/java/codeu/model/store/basic/ProfileStore.java
/** Return true if the given profile is known to the application. */
Return true if the given profile is known to the application.
Return true if the given profile is known to the application .
public boolean doesProfileExist(String username) {
    for (Profile profile : profiles) {
      if (profile.getName().equals(username)) {
        return true;
      }
    }
    return false;
  }
public boolean doesProfileExist ( String username ) { for ( Profile profile : profiles ) { if ( profile . getName ( ) . equals ( username ) ) { return true ; } } return false ; }
Return true if the given profile is known to the application.
Return true if the given profile is known to the application .