#!/bin/bash

free -m | grep -q 'Swap:.*'$1'.*'