UBC WebScraper/src/CourseManager.java
/**
     *
     * @param courseName name of course to search for in CourseManager
     * @return true if CourseManager already contains a course with courseName, false otherwise
     */
@param courseName name of course to search for in CourseManager
@return true if CourseManager already contains a course with courseName, false otherwise
@param courseName name of course to search for in CourseManager @return true if CourseManager already contains a course with courseName false otherwise
public boolean containsCourseWithName(String courseName){
        for(Course next : courses){
            if(next.getCourseName().equals(courseName))
                return true;
        }
        return false;
    }
public boolean containsCourseWithName ( String courseName ) { for ( Course next : courses ) { if ( next . getCourseName ( ) . equals ( courseName ) ) return true ; } return false ; }
@param courseName name of course to search for in CourseManager
 @return true if CourseManager already contains a course with courseName, false otherwise
@param courseName name of course to search for in CourseManager @return true if CourseManager already contains a course with courseName false otherwise