Will return a Boolean value indicating if the object is present or not.
Installing the package:
npm i is-object-present
**Import: **
import isObjectPresent from "is-object-present"
isObjectPresent function will return boolean value
isObjectPresent({})
//false
isObjectPresent({"key":"value"})
//true