Returns a true value if element is the first in the list.
bool isFirst<V>(Iterable<V> list, V element) { return firstOrNull<V>(list) == element; }