is.valid_device: Determine whether or not a given device name is valid
Description
is.valid_device determines whether or not a given device name is valid
or not according to Pushover's specifications. It does not determine whether
or not the given device is registered to a user.
Usage
is.valid_device(device)
Arguments
device
A device name (e.g., 'phone')
Value
A boolean value indicating if the device name is valid (TRUE)
or not (FALSE)