summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/enterprise.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/python/enterprise.py b/python/enterprise.py
index fdd0bb74..23e7df71 100644
--- a/python/enterprise.py
+++ b/python/enterprise.py
@@ -250,6 +250,14 @@ def license_duration() -> int:
return core.BNGetEnterpriseServerLicenseDuration()
+def is_floating_license() -> bool:
+ """
+ Determine if a floating license is currently active
+ :return: True if a floating license is active
+ """
+ return core.BNIsEnterpriseServerFloatingLicense()
+
+
def is_license_still_activated() -> bool:
"""
Determine if your current license checkout is still valid.