List

starts_with?/2

starts_with?(list, prefix)

Returns true if list starts with the given prefix. Also if prefix is an empty list, it returns true.

Otherwise returns false.