def METHOD_NAME(self):
    try:
        sfp_modprs_path = "/sys/devices/platform/dell-n3248pxe-cpld.0/sfp_modprs"
        reg_file = open(sfp_modprs_path)
    except IOError as e:
        print ("Error: unable to open file: %s" % str(e))
        return False
    content = reg_file.readline().rstrip()
    reg_file.close()
    return int(content, 16)