check if callback is a list