title: How to convert a boolean to Observable<boolean>? Is this possible?
body: <pre><code>public isFunctionAssigned(user: IUser, functionality: string): Observable&lt;boolean&gt; {
  
      //get list of claims assigned
      let userClaims: IClaim[] = [];
  
      let functionalities: string[] = [functionality];
      let assignedFunctions: string[] = [];
  
      this.getUserAssignedFunctions(user, functionalities).subscribe(
          userFunctions =&gt; {
              return (!(userFunctions &amp;&amp; userFunctions.length &gt; 0));
          }
      );
  } 
  </code></pre>