simpler if/else construct
s/prefix/is_prefix/ to indicate the boolean-ness