Check if a closure is bindable before bind it to the mock.