made suffix checking method private, and reintroduced return, removed to fix CodeNarc issue, as wrong value being returned