IsDBNull extension method
@__@ Ported Emrah's PHP getUserTaskInfo function to C#. Output is mostly the same, with some minor differences.