'Helper function to see if there is a Parser connected to a Channel
- used to determine whether to populate the msg_parsing_status table'

@staticmethod
def parser_enabled(channel_id):

    table = current.s3db.msg_parser
    record = current.db((table.channel_id == channel_id)).select(table.enabled, limitby=(0, 1)).first()
    if (record and record.enabled):
        return True
    else:
        return False
