sharp.utils
If None, return a default function. If str, grab function from a dict. if function, check if it’s valid and return itself.