Corrected the method name to conform to convention

use "is" rather than "get" for booleans
Merged if conditions