Integrate vulnerability

integrate the vulnerability visualization applications 
Please add a small function that perform just this boolean operation:
function is_set(a)
{
   return (a !== undefined && a !== "");
}