def METHOD_NAME(self, key):
    """Returns MACHINEFEATURES/key as an int or None if not an int or not present"""
    value = self.getMachineFeature(key)
    try:
        return int(value)
    except ValueError:
        return None