def ebs_volume_exists(region, volume_id, access_key_id, secret_access_key):
conn = connect_to_ec2(region, access_key_id, secret_access_key)<EOL>for vol in conn.get_all_volumes():<EOL><INDENT>if vol.id == volume_id:<EOL><INDENT>return True<EOL><DEDENT><DEDENT>
finds out if a ebs volume exists