code: @Override
  	public boolean hasPermission(Context context, String permission) {
  		return context.getPackageManager().checkPermission(permission, context.getPackageName()) == PackageManager.PERMISSION_GRANTED;
  	}
docs: /* (non-Javadoc)
  @see com.socialize.util.IAppUtils#hasPermission(android.content.Context, java.lang.String)