Determines if a text format exists.
$format_id: The ID of the text format to check.
TRUE if the text format exists, FALSE otherwise. Note that for disabled formats filter_format_exists() will return TRUE while filter_format_load() will return FALSE.
function filter_format_exists($format_id) {
return entity_load('filter_format', $format_id);
}