Python actually has internal prefix/suffix checkers