text: #import <Foundation/Foundation.h>
  
  @interface LSSubscripton : NSObject
  @property (nonatomic, strong) NSString *state;
  @end
  
  @interface LSSubscripton (State)
  - (void)initializeStateMachine;
  - (BOOL)activate;
  - (BOOL)suspend;
  - (BOOL)unsuspend;
  - (BOOL)terminate;
  
  - (BOOL)isPending;
  - (BOOL)isActive;
  - (BOOL)isSuspended;
  - (BOOL)isTerminated;
  
  - (BOOL)canActivate;
  - (BOOL)canSuspend;
  - (BOOL)canUnsuspend;
  - (BOOL)canTerminate;
  @end