'Set whether the interface is controlled by NetworkManager
:param self: A NetworkAdapter object
:param value: A value representing interface controlled by NetworkManager
:type self: NetworkAdapter
:type value: bool
:return: None
:rtype: None
:raises InvalidValueError: When the given value is not bool'

@is_managed_by_nm.setter
def is_managed_by_nm(self, value):

    if isinstance(value, bool):
        self._is_managed_by_nm = value
    else:
        raise InvalidValueError(value, bool)
