function hasProp(obj, name) {
    return obj.hasOwnProperty(name);
  }
Retrieve 'left', 'right', 'top', 'bottom', 'width', 'height' from object.
@param {Object} source
@return {Object} Result contains those props.