Pythonic corrections
diff --git a/erpnext/utilities/address_and_contact.py b/erpnext/utilities/address_and_contact.py
index 324f679..36879d2 100644
--- a/erpnext/utilities/address_and_contact.py
+++ b/erpnext/utilities/address_and_contact.py
@@ -29,7 +29,6 @@
 	for df in (links.get("permitted_links") + links.get("not_permitted_links")):
 		doctype = df.options
 		name = doc.get(df.fieldname)
-
 		names.append(name)
 
 		if name and frappe.has_permission(doctype, ptype, doc=name):
@@ -37,9 +36,7 @@
 
 	if not any(names):
 		return True
-
-	else:
-		return False
+	return False
 
 def get_permission_query_conditions_for_contact(user):
 	return get_permission_query_conditions("Contact")