returns true if a given function takes a node-style callback