This command loads preference dependency nodes from “userPrefObjects.ma”, if it exists, from the user preference directory.
Derived from mel command maya.cmds.loadPrefObjects
Example:
import pymel.core as pm
import maya.cmds as cmds
pm.loadPrefObjects()
# Result: True #