checking for promise method existence before binding