Use existing methods for better readability
check string match with equals()