def data_set_member_exists(name, run_command):
    """Checks for existence of data set member."""
    rc, stdout, stderr = run_command('head "//\'{0}\'"'.format(name))
    if rc != 0 or (stderr and 'EDC5067I' in stderr):
        return False
    return True