def METHOD_NAME(cls, include_enabled=True, include_disabled=False):
    """List workflow definitions.
    Parameters
    ----------
    include_enabled : bool, optional
        Include enabled definitions in the results.  Defaults to True.
    include_disabled : bool, optional
        Include disabled definitions in the results.  Defaults to False.
    Returns
    -------
    list
        The list of definitions.
    """
    if include_enabled and include_disabled:
        url = "/definitions"
    elif include_enabled:
        url = "/enabledDefinitions"
    elif include_disabled:
        url = "/disabledDefinitions"
    else:
        return []
    # Header required to prevent 400 ERROR Bad Request
    results = cls.get(url, headers={"Accept-Language": "en-US"})
    if results is None:
        return []
    if isinstance(results, (list, PagedItemIterator)):
        return results
    return [results]