'See if host\'s platforms matches any of the patterns in the included
platforms list.'

def _included_platform(self, host, platforms):

    if (not platforms):
        return True
    for platform in platforms:
        if re.search(platform, host.platform):
            return True
    return False
