question: private boolean performSearch ( String query ) { if ( checkInteger ( query ) ) { return getComicByNumber ( Integer . parseInt ( query ) ) ; } else { return searchComicTitleOrTranscript ( query ) ; } }
target:  Checks if the query is integer or text and invokes the according search algorithm