This method will return true or false if the given variable to be checked is a moment.
moment.isMoment(obj);
var ismoment = moment.isMoment(moment());
var ismoment = moment.isMoment(moment([2010, 05, 01]));