Check if $options is an array, to prevent errors if values not exist