>>> isPrefixOf "ab" "abcdef" True
>>> isPrefixOf "ac" "abcdef" False
isPrefixOf "" t == True
isPrefixOf t t == True