Added expired() function for signature packages
Added expired() function