in device_info_pkg/device_info_pkg/device_info_node.py [0:0]
def get_secure_boot_info(self):
"""Getter method to return the secure boot variable if loaded, else load it
and return.
Returns:
str: Secure boot details.
"""
self.get_logger().info("Getting the secure boot information")
if not self.sb:
self.load_sb()
self.get_logger().info(f"Secure boot: {self.sb}")