def METHOD_NAME(self):
    """ Check Netmask value in database
        1. Check if netmask attribute in nics table
            stores correct value.
    """
    # Step 1
    # Get the netmask from ipv4 address of the VM
    qryresult_netmask = self.dbclient.execute(
        " select id, uuid, netmask\
                from nics where ip4_address='%s';" %
        self.vm.nic[0].ipaddress)
    self.assertNotEqual(
        len(qryresult_netmask),
        0,
        "Check if netmask attribute in nics table \
        stores correct value")
    # Step 2
    netmask_id = qryresult_netmask[0][2]
    netlist = list_networks(self.apiclient,
                            account=self.account.name,
                            domainid=self.account.domainid)
    self.assertNotEqual(len(netlist), 0,
                        "Check if list networks returned an empty list.")
    cidr = netlist[0].cidr.split("/")[1]
    # Get netmask from CIDR
    netmask = ipv4_cidr_to_netmask(int(cidr))
    # Validate the netmask
    self.assertEqual(netmask_id,
                     netmask,
                     "Check if the netmask is from guest CIDR")
    return